package com.game.doudizhu.util;

public class Constants {
    // 游戏状态
    public static final String STATUS_WAITING = "WAITING";
    public static final String STATUS_BIDDING = "BIDDING";
    public static final String STATUS_PLAYING = "PLAYING";
    public static final String STATUS_FINISHED = "FINISHED";
    
    // 消息类型
    public static final String MSG_TYPE_JOIN = "JOIN";
    public static final String MSG_TYPE_BID = "BID";
    public static final String MSG_TYPE_PLAY = "PLAY";
    public static final String MSG_TYPE_PASS = "PASS";
    public static final String MSG_TYPE_CHAT = "CHAT";
    public static final String MSG_TYPE_RECONNECT = "RECONNECT";
    
    // 游戏配置
    public static final int INITIAL_SCORE = 1000;
    public static final int MIN_PLAYERS = 3;
    public static final int CARDS_PER_PLAYER = 17;
    public static final int LANDLORD_CARDS = 3;
    
    // WebSocket配置
    public static final String WEBSOCKET_ENDPOINT = "/ws";
    public static final String TOPIC_GAME = "/topic/game/";
    public static final String TOPIC_ROOM = "/topic/room/";
    public static final String QUEUE_PRIVATE = "/queue/private/";
} 